//
//  HDRecognizeeOtherVC.swift
//  HuaDaoPeifu
//
//  Created by ZERO on 2018/6/12.
//  Copyright © 2018年 paiyipai. All rights reserved.
//



import UIKit

class HDRecognizeeOtherVC: UIViewController, SinglePickerViewDelegate {
    
    @IBOutlet weak var scrollView: UIScrollView!
    @IBOutlet weak var nameTF: UITextField!
    @IBOutlet weak var genderLabel: UILabel!
    
    
    @IBOutlet weak var IDnumberTF: UITextField!
    
    @IBOutlet weak var phoneTF: UITextField!
    @IBOutlet weak var professionTF: UITextField!
    @IBOutlet weak var addressTF: UITextField!
    @IBOutlet weak var mailTF: UITextField!
    
    @IBOutlet weak var accountNameTF: UITextField!
    @IBOutlet weak var bankNumberTF: UITextField!
    @IBOutlet weak var bankNameTF: UITextField!
    
    @IBOutlet weak var branchLabel: UILabel!
    
    @IBOutlet weak var positiveImgView: UIImageView!
    @IBOutlet weak var reverseImgView: UIImageView!
    
    @IBOutlet weak var bornImgView: UIImageView!
    @IBOutlet weak var hkImgView1: UIImageView!
    @IBOutlet weak var hkImgView2: UIImageView!
    
    var genderPicker: SinglePickerView!
    
    override func viewDidLoad() {
        super.viewDidLoad()

        title = "修改连带被保人信息"
        setUI()
        
        // Do any additional setup after loading the view.
    }
    
     func setUI() {
        
            scrollView.contentSize = CGSize(width: 0, height: 1050)
            genderPicker                 = SinglePickerView()
            //        picker?.Type                = SingleListTypeDiscuz
            genderPicker?.delegate            = self
            genderPicker?.arr = ["男", "女"]
    }
    
    
    func complete(_ pickerView: UIView!, tempStr str: String!, idStr idstr: String!) {
        genderLabel.text = str
    }
    
    // 选择性别
    @IBAction func genderSelect(_ sender: UIButton) {
        genderPicker?.showInView()

    }
    // 选择支行
    @IBAction func branchSelect(_ sender: UIButton) {
        
    }
    
    
    
    @IBAction func IDSelect1(_ sender: UIButton) {
        
    }
    
    @IBAction func IDSelect2(_ sender: UIButton) {
        
    }
    
    @IBAction func bornSelect(_ sender: UIButton) {
        
    }
    
    @IBAction func hkselect1(_ sender: UIButton) {
        
    }
    
    @IBAction func hkSelect2(_ sender: UIButton) {
        
    }
    
    @IBAction func completeAction(_ sender: UIButton) {
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
